package com.hanserwei.han_picture.domain.request.picture;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
public class AlibabaPictureStyleRegenRequest {
    private String model="wanx-style-repaint-v1";

    private Input input;

    /**
     * 内部类，封装了图像生成的输入参数
     */
    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    public static class Input {
        @JsonProperty("image_url")
        @Schema(description = "图片URL")
        private String imageUrl;

        @JsonProperty("style_index")
        @Schema(description = "风格索引")
        private int styleIndex;
    }
}
